package com.wrupple.muba.desktop.client.events;

import com.wrupple.muba.desktop.client.module.ModuleController;

public class DesktopModuleInitializedEvent extends DesktopInitializationEvent {
	public ModuleController<?> moduleController;
	public String name;

	public DesktopModuleInitializedEvent(ModuleController<?> presenter, String name) {
		super();
		this.moduleController = presenter;
		this.name = name;
	}

	@Override
	protected void dispatch(HandlesDesktopInitializationEvents handler) {
		handler.onModuleInitialized(this);
	}

}
